<div id="vmaig-links">
    <div class="panel panel-vmaig">
        <div class="panel-heading">
            <h3 class="panel-title">
                <span class="glyphicon glyphicon-link"></span>
                友情链接
                <span class="glyphicon glyphicon-remove btn panel-close pull-right"></span>
                <span class="glyphicon glyphicon-chevron-up btn panel-collapse pull-right" data-toggle="collapse" data-target="#links"></span>
            </h3>
        </div>
        <div id="links" class="padding10 list-group collapse in">
            {% for  blogroll in blogroll_list %}
                <a title="{{ blogroll.name }}" target="_blank" href="{{ blogroll.target_url }}" class="btn {% cycle 'btn-danger' 'btn-info' 'btn-success' 'btn-default' 'btn-warning' %} btn-xs margin2">{{ blogroll.name }}</a>
            {% endfor %}
        </div>
    </div>
</div>
